package cn.car.mapper;

import cn.car.domains.entity.VehicleEntryExitLedgerInfoEntity;
import cn.hutool.core.date.DateTime;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleEntryExitLedgerInfoMapper {
    void insert(VehicleEntryExitLedgerInfoEntity vehicleEntryExitLedgerInfoEntity);

    void updateById(VehicleEntryExitLedgerInfoEntity updateEntity);

    VehicleEntryExitLedgerInfoEntity getLastLedgerByVehicleNumber(@Param("vehicleNumber") String vehicleNumber);

    List<VehicleEntryExitLedgerInfoEntity> compensateVehicleLedgerInfoUploadStatus(@Param("startTime") DateTime startTime, @Param("endTime") DateTime endTime);
}
